package cn.tansanqinger.service.chatroom;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Service;

import cn.tansanqinger.pojo.Unauthorized;
import cn.tansanqinger.util.PageData;

@Service
public interface IUnauthorizedService {

	//查询全部信息
	public List<Unauthorized> selectAll(HttpServletRequest request);
	
	//查询单一信息
	public Unauthorized selectOneId(HttpServletRequest request);
	
	//查询信息条数
	public int selectNumber(HttpServletRequest request);
	
	//添加信息
	public PageData add(HttpServletRequest request);
	
	//修改信息
	public PageData modification(HttpServletRequest request);
	
	//删除信息
	public PageData delete(HttpServletRequest request);
	
	//拒绝添加好友
	public PageData refusedToAdd(HttpServletRequest request);
	
	//同意添加好友
	public PageData agreeToAdd(HttpServletRequest request);
}
